This commit is contained in:
磷叶 2024-11-21 18:05:26 +08:00
parent 5f4e40e712
commit 5f5eac6d84
3 changed files with 6 additions and 3 deletions

View File

@ -14,6 +14,7 @@
:multiple="multiple"
:init-select="initSelect"
v-on="$listeners"
:query="query"
/>
</div>
</div>

View File

@ -31,7 +31,7 @@ export const PriceStatus = {
// 允许启用
canEnable(status) {
return [this.PASS].includes(status);
}
},
}
// 工资模式

View File

@ -155,7 +155,7 @@ import PriceInput from "@/components/Business/Price/PriceInput.vue";
import {isEmpty, notNullDecimal} from "@/utils";
import FormCol from "@/components/FormCol/index.vue";
import UserProductBatchDialog from "@/views/yh/report/edit/components/UserProductBatchDialog.vue";
import {IncomeMode} from "@/utils/constants";
import {IncomeMode, PriceStatus} from "@/utils/constants";
import Decimal from "decimal.js";
import ReportProductOrderListEdit from "@/views/yh/report/edit/components/ReportProductOrderListEdit.vue";
import ReportProductUserListEdit from "@/views/yh/report/edit/components/ReportProductUserListEdit.vue";
@ -225,7 +225,9 @@ export default {
},
priceQuery() {
return {
deptId: this.form.deptId
deptId: this.form.deptId,
status: PriceStatus.PASS, //
disabled: false,
}
}
},