|
|
|
@ -186,9 +186,9 @@ export class AggregatingModule extends VuexModule {
|
|
|
|
|
*/
|
|
|
|
|
@MutationAction
|
|
|
|
|
async queryProOrder(params: any) {
|
|
|
|
|
const { list: proOrderList }: any = await http.post(url.sumscan.query.orderno, params);
|
|
|
|
|
//const proOrderList = values.map((v: string) => ({ prdOrder: v }));
|
|
|
|
|
//proOrderList.forEach((_: any) => (_.checked = true));
|
|
|
|
|
const { values }: any = await http.post(url.sumscan.query.orderno, params);
|
|
|
|
|
const proOrderList = values.map((v: string) => ({ prdOrder: v }));
|
|
|
|
|
proOrderList.forEach((_: any) => (_.checked = true));
|
|
|
|
|
if (!proOrderList.length) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: 'none',
|
|
|
|
|